<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
</head>
<style>
    body{
        display: flex;
        height: 600px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }   
</style>
<body>

    <h3>登录</h3>
    <table>
        <tr>
            <td>
                <label for="">用户名:</label>
            </td>
            <td>
                <input type="text" placeholder="请输入用户名" name="username">
            </td>
        </tr>
        <tr>
            <td>
                <label for="">密码:</label>
            </td>
            <td>
                <input type="password" name="pwd">
            </td>
        </tr>
        <tr>
            <td><input type="button" value="登录" onclick="login()"></td>
            <td><input type="button" value="注册" onclick="register()"></td>
        </tr>
    </table>
</body>
<script src="./js/jquery-3.6.0.min.js"></script>
<script src="./js/login.js"></script>
</html>